import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/api/UnionMember/list',
    method: 'get',
    params,
  })
}

export function addChengkaoJob(params) {
  return request({
    url: '/api/UnionMember/addChengkaoJob',
    method: 'get',
    params,
  })
}

export function config(params) {
  return request({
    url: '/api/UnionMember/config',
    method: 'post',
    params,
  })
}

export function branchInput(data) {
  return request({
    url: '/api/UnionMember/branchInput',
    method: 'post',
    data,
  })
}

export function doEdit(params) {
  return request({
    url: '/api/UnionMember/doEdit',
    method: 'post',
    params,
  })
}

export function normalChengkaoJob(params) {
  return request({
    url: '/api/UnionMember/normalChengkaoJob',
    method: 'post',
    params,
  })
}
export function confirmUserDoCourse(params) {
  return request({
    url: '/api/UnionMember/confirmUserDoCourse',
    method: 'post',
    params,
  })
}

export function markStatus(params) {
  return request({
    url: '/api/UnionMember/markStatus',
    method: 'post',
    params,
  })
}
